package com.nondo.dean.saprfc.service;


import com.nondo.dean.saprfc.common.SpringUtils;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.text.SimpleDateFormat;
import java.util.Date;
@Component
public class TestQuartz implements Job{

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        /*SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss SSS");
        System.out.println("当前时间为："+sdf.format(new Date()));*/
        //TimedTaskActivityStautsService obj = SpringUtils.getBean("timedTaskActivityStautsService");
        //obj.updateActivityStauts();
    }

}
